package com.lsw.jgyf.model;

import java.util.List;

/**
 * Created by lsw on 2018/7/22.
 */

public class OrderModel {

    /**
     * data : [{"id":1,"order_num":"1241241231123","phone_name":"苹果5s","phone_id":8,"brand_id":2,"brand_name":"苹果","img":"http://127.0.0.1/mobile_shop/public/upload/20180623/7b7f1319736602eaa9571191f2445fb9.png","real_money":"1000.00"}]
     * last_page : 1
     * current_page : 1
     * total : 1
     */

    private int last_page;
    private int current_page;
    private int total;
    /**
     * id : 1
     * order_num : 1241241231123
     * phone_name : 苹果5s
     * phone_id : 8
     * brand_id : 2
     * brand_name : 苹果
     * img : http://127.0.0.1/mobile_shop/public/upload/20180623/7b7f1319736602eaa9571191f2445fb9.png
     * real_money : 1000.00
     */

    private List<DataEntity> data;

    public void setLast_page(int last_page) {
        this.last_page = last_page;
    }

    public void setCurrent_page(int current_page) {
        this.current_page = current_page;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getLast_page() {
        return last_page;
    }

    public int getCurrent_page() {
        return current_page;
    }

    public int getTotal() {
        return total;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String order_num;
        private String phone_name;
        private int phone_id;
        private int brand_id;
        private String brand_name;
        private String img;
        private String real_money;
        private int status;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setOrder_num(String order_num) {
            this.order_num = order_num;
        }

        public void setPhone_name(String phone_name) {
            this.phone_name = phone_name;
        }

        public void setPhone_id(int phone_id) {
            this.phone_id = phone_id;
        }

        public void setBrand_id(int brand_id) {
            this.brand_id = brand_id;
        }

        public void setBrand_name(String brand_name) {
            this.brand_name = brand_name;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setReal_money(String real_money) {
            this.real_money = real_money;
        }

        public int getId() {
            return id;
        }

        public String getOrder_num() {
            return order_num;
        }

        public String getPhone_name() {
            return phone_name;
        }

        public int getPhone_id() {
            return phone_id;
        }

        public int getBrand_id() {
            return brand_id;
        }

        public String getBrand_name() {
            return brand_name;
        }

        public String getImg() {
            return img;
        }

        public String getReal_money() {
            return real_money;
        }
    }
}
